using Shared.Domain.Shared.Enums;
using Shared.Domain.Shared.Enums.UserService;

namespace Shard.Contracts.UserService.Dtos;

/// <summary>
/// 用户信息DTO - 用于返回用户基本信息
/// </summary>
public class UserDto
{
    /// <summary>
    /// 用户ID
    /// </summary>
    public Guid Id { get; set; }
    
    /// <summary>
    /// 用户名
    /// </summary>
    public string UserName { get; set; }
    
    /// <summary>
    /// 电子邮件
    /// </summary>
    public string Email { get; set; }
    
    /// <summary>
    /// 角色
    /// </summary>
    public UserRole Role { get; set; }
    
    /// <summary>
    /// 状态
    /// </summary>
    public UserStatus Status { get; set; }
    
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreationTime { get; set; }
}